<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Notifications\Notifiable;
use Watson\Validating\ValidatingTrait;

class EnglishProficiency extends Model
{
    use  Notifiable;
    use ValidatingTrait;
    use SoftDeletes;
    protected $table = 'english_proficiencys';
    //
    protected $fillable = [
        'category','e_number','serial_number'
    ];
    protected $rules = [
//        'e_name' => 'required|max:20',
    ];


    protected $validationMessages = [
//        'e_name.required' => '考试名称必填',
//        'e_name.max' => '考试名称长度不得超过20个字符',
//        'e_name.unique' => '该考试已经被注册过了'
    ];
}
